home *** CD-ROM | disk | FTP | other *** search
- Path: news.tu-chemnitz.de!news
- From: hfst@hrz.tu-chemnitz.de (Hans Steffani)
- Newsgroups: comp.lang.c
- Subject: Re: How to realize matrix Operation by C ?
- Date: 9 Jan 96 08:15:22 GMT
- Organization: University of Technology Chemnitz, FRG
- Message-ID: <4ct8gm$ehq@pyrrhus-f.hrz.tu-chemnitz.de>
- References: <4csdd2$pgu@masala.cc.uh.edu>
- NNTP-Posting-Host: mmu.hrz.tu-chemnitz.de
-
- Jingbo Zheng <jzheng> writes:
-
- >Is there anyboby has a good solution to realize the addition, subtraction,
- >multiplication, division and exponential function of matrices by using C
- >language? The dimension of the matrices should be variable.
-
- You may implement functions with two pointers to float wich
- represent the matrizes and its order, assuming rectangular
- Matrizes.
-
- With this you can implement addition, subtraction and multiplication.
-
- Then you may build a function (using gauss method) to solve
- linear equation systems compute the inverse of a matrix.
-
- The exponential function of matrices may be computed by using
- series.
-
- h.f.s.
-
- PS:
- Your From:-Line does not contain a valid e-mail address. Please
- change this!
- --
- Hans Friedrich Steffani
- Institut fuer Elektrische Maschinen und Antriebe
- TU Chemnitz-Zwickau
- e-mail: hans.steffani@e-technik.tu-chemnitz.de
-